@c-red: #A92123;
@c-gray: #7A7A7A;

.select-box {
  border: 1px solid #DDDDDD;
  cursor: pointer;
  position: relative;
  display: inline-block;
  min-width: 100px;
  text-align: center;
  height: 30px;
  line-height: 26px;
  margin-right: 20px;
  &:hover {
    border: 1px solid #E80015;
  }
  &.selected {
    border: 2px solid #E80015;
    &:after {
      content: "";
      position: absolute;
      bottom: 0px;
      right: 0px;
      height: 14px;
      width: 14px;
      background: url("../images/mark-check.png");
      background-size: 100%;
    }
  }
}

.product-list-wrap {
  background: #FFF;
  padding: 20px;
  .product-list {}
  .product-item {
    height: 80px;
    position: relative;
    padding-left: 80px;
    margin: 20px 0;
    .image {
      width: 80px;
      height: 80px;
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      border: 1px solid #DBDBDB;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .info {
      font-size: 13px;
      color: #6C6C6C;
      padding-left: 10px;
      .name {
        // height: 34px;
        margin-bottom: 5px;
      }
      .price {
        font-size: 14px;
        color: @c-red;
        line-height: 24px;
        float: left;
        margin-right: 5px;
      }
      .actions {
        margin-top: 10px;
        .action-quantity {
          float: left;
          width: 100px;
          height: 25px;
          border: 1px solid #CECECE;
          border-radius: 3px;
          .btn {
            display: inline-block;
            width: 25px;
            height: 25px;
            text-align: center;
            font-size: 20px;
            line-height: 23px;
            vertical-align: middle;
            background: #F5F5F5;
            border-radius: 3px;
            border: 1px solid #CECECE;
            margin-top: -1px;
            &:first-child {
              margin-left: -1px;
              float: left;
            }
            &:last-child {
              margin-right: -1px;
              float: right;
            }
          }
          .input {
            width: 50px;
            text-align: center;
            border: none;
            height: 23px;
            line-height: 23px;

            &:disabled{
              background: #DDD;
            }
          }
        }
        .action-delete {
          float: right;
          .icon-trash {
            display: block;
            width: 20px;
            height: 20px;
          }
        }
      }
    }
  }
}

.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #000;
  color: #FFF;
  line-height: 50px;
  padding-left: 20px;
  .btn-checkout {
    width: 30%;
    min-width: 120px;
    background: #A92123;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
  }
}

.section{
  margin-top: 10px;
  background: #FFF;
  border-top: 1px solid #DFDFDF;
  border-bottom: 1px solid #DFDFDF;
  padding: 10px;
  position: relative;
  .icon-arrow-right{
    float: right;
  }

  &:first-child{
    margin-top: 0;
  }

  &:last-child{
    margin-bottom: 20px;
  }
  .title {
    font-size: 15px;
    color: #6D6D6D;
    float: left;
  }
  .value{
    float: right;
  }
}

.page-cart {
  .for-free-wrap {
    color: #939496;
    font-size: 13px;
    margin-top: 20px;
    padding-left: 20px;
    .bhz-checkbox {
      vertical-align: top;
      margin-right: 2px;
    }
    .tips {
      font-size: 10px;
      color: #4A90E2;
      text-decoration: underline;
      margin-left: 5px;
    }
  }
  .sub-totals {
    margin-top: 20px;
    padding: 0 20px;
    font-size: 14px;
    color: @c-red;
  }

  .coupon {
    padding: 10px;
    .section-title{
      margin-bottom: 5px;
    }
    .coupon-item{
      .bhz-checkbox{
        vertical-align: top;
      }
      span{
        vertical-align: top;
        margin-left: 10px;
      }

      .price{
        color: #E4393C;
      }
    }
  }

}

.page-checkout {
  padding-bottom: 20px;
  .deliver-date {
    background: #F8D27D;
    height: 44px;
    padding: 12px 15px;
    font-size: 14px;
    color: #8A611F;
  }
  .address {
    background: url(../images/bg-address.png) 100% 100%;
    background-size: 100% 100%;
    height: 80px;
    width: 100%;
    padding: 16px;
    .address-info {
      .basic {
        font-size: 14px;
        .username {
          margin-right: 10px;
        }
        .icon {
          display: inline-block;
          margin-right: 5px;
        }
        .icon-user {
          width: 14px;
          height: 14px;
        }
        .icon-mobile {
          width: 9px;
          height: 14px;
        }
      }
      .details {
        font-size: 14px;
        color: #898886;
        margin-top: 5px;
      }
    }

    .icon-arrow-right{
      position: absolute;
      right: 20px;
      top: 0;
      bottom: 0;
      margin: auto;
    }
  }
  .products {
    .cart-list-wrap {
      margin-top: 10px;
      padding: 0;
    }
    .cart-item {
      margin: 10px 0;
      padding-left: 60px;
      height: 60px;
      .image {
        width: 60px;
        height: 60px;
      }
      .data {
        margin-top: 5px;
        .quantity {
          float: left;
        }
        .price {
          float: right;
        }
      }
    }
  }

  .addition-info {
    background: #FFF;
    padding-left: 16px;
    margin-top: 10px;
    .payment {
      padding: 16px 16px 16px 0;
      .title{
        float: none;
      }
      .content{
        padding-top: 10px;
        .select-box{
          font-size: 14px;
        }
      }
      .value {
        font-size: 15px;
        color: #2A2A2A;
        font-weight: bold;
      }
      border-bottom: 1px solid #DBDBDB;
    }
    .delivery {
      padding: 16px 16px 16px 0;
      .title{
        float: none;
      }
      .value {
        clear: left;
        float: none;
        font-size: 13px;
        margin-top: 12px;
        color: #6D6D6D;
        .date {
          margin-right: 10px;
        }
      }
    }
  }

  .coupon{
    margin-bottom: 20px;
    .coupon-data{
      background: #F55154;
      font-size: 12px;
      color: #FFF;
      padding: 3px 10px;
      border-radius: 5px;
    }
  }

  .invoice{
    margin-bottom: 20px;
  }

  .page-address{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    .info{
      font-size: 14px;
      color: @c-gray;
    }
  }
}

.page-card-list{

  .content{
    padding: 10px;
  }
  .card-box{
    height: 100px;
    width: 90%;
    margin: 20px auto;
    border: 1px solid #B1B1B1;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    padding: 38px;
  }

  .form-group-sms{
    .form-control{
      width: 53%;
    }
    .btn-sms{
      width: 45%;
      float: right;
      padding-top: 0;
      .btn{
        width: 100%
      }
    }
    .success-info {
      font-size: 12px;
      clear: both;
      padding-top: 5px;
    }
  }

  .pay-form-dialog{
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 20px;

    form{
      .btn-wrap{
        .btn-submit{
          width: 40%;
        }
        .btn-cancel{
          width: 40%;
          float: right;
        }
      }
    }
  }
}
.page-add-card{
  .content{
    padding: 10px;
  }

  .form-group-sms{
    .form-control{
      width: 53%;
    }
    .btn-sms{
      width: 45%;
      float: right;
      padding-top: 0;
      .btn{
        width: 100%
      }
    }
    .success-info {
      font-size: 12px;
      clear: both;
      padding-top: 5px;
    }
  }

  .btn-submit{
    width: 100%;
  }
}

